#!/usr/bin/python
Import ('env')

sources = ['SumoPHYCallbackBridge.cpp',
                'SumoPhysicsController.cpp',
                'SumoPhysicsEnvironment.cpp',
                'Fuzzics/src/SM_FhObject.cpp',
                'Fuzzics/src/SM_Object.cpp',
                'Fuzzics/src/SM_Scene.cpp',
                'Fuzzics/src/SM_MotionState.cpp'
               ]

incs =['.',
	'../common',
	'Fuzzics/include',
	'#/intern/moto/include'
	]
incs += [env['BF_SOLID_INC']]

cflags = []
if env['OURPLATFORM']=='win32-vc':
	cflags.append('/GR')
	cflags.append('/O1')

env.BlenderLib ( 'bf_sumo', sources, incs, [], libtype=['game2','player'], priority=[30, 70] , compileflags=cflags)
